package Demo1;

public class Bird extends Animer implements iRun,iFly{
    public Bird(String name) {
        super(name);
    }
    public void eat(){
        System.out.println(this.name+"正在吃鸟粮");
    }

    @Override
    public void fly() {
        System.out.println(this.name+"飞");
    }

    @Override
    public void iRun() {
        System.out.println(this.name+"跑");
    }
}
